home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / utility / lsv15.zip / LS.DOC < prev    next >
Text File  |  1996-07-17  |  2KB  |  56 lines

  1. *********************************************************************
  2. *                        ls version 1.5                             *
  3. *********************************************************************
  4.  
  5. ls.... another exciting VMW software production.
  6.  
  7. This program (ls.exe) and the included source (ls.pas) emulate the
  8. Unix command of the same name.  It ignores all the formatting
  9. switches however; it emulates an "ls -la" command.  The "lls.bat" file
  10. included just pipes the output to the more command to make it more
  11. readable.
  12.  
  13. When compiled, this program can be copied to a directory in the path
  14. (i.e c:\dos) and then it can be run from anywhere.
  15.  
  16. Instead of making a clunky batchfile called ls, use this and feel 
  17. sort of at home on a PC.
  18.  
  19. I wrote this program in Turbo Pascal 6.0, but I am sure it would
  20. run on 5.x.  It should compile easily, once loaded into the editor.
  21.  
  22. Most dos wildcards work similar to the equivelant dir command.
  23.  
  24. For example:   ls *.exe   is equivelant to   dir *.exe
  25.                ls c:*.bat is equivelant to   dir c:*.exe
  26.                ls h.??u   is equivelant to   dir h.??u
  27.  
  28. The way it works:
  29.   Using pascal all of the attribute bits are detected through dos.
  30.   If a file is read only, then it is displayed as such.  Same thing
  31.   with the system attrubute.  Hidden files are shown with a period
  32.   in front of them.  Any files ending in the extension bat, com,
  33.   or exe are marked as executable.  Directories are marked as
  34.   directories and executable.  The time and date format is exactly
  35.   the same as an "ls -la" command on an SGI running Irix 5.3.  The
  36.   main atttributes are replicated three times because of the lack
  37.   of privledges.  The owner of file is always shown as "root" because
  38.   on a PC everyone has root privledges.  The source code lacks 
  39.   comments, but it should not be too difficult to follow.
  40.  
  41. This program is a freeware VMW software production.
  42.  
  43. Other VMW software productions, including Tom Bombem (a cool game)
  44.       can be found at 
  45.       http:\\www.wam.umd.edu\~vmweaver\tb1
  46.  
  47. by:
  48.  
  49. Vince Weaver
  50. Joppa, Maryland, USA
  51.  
  52. Contact:
  53.    vmweaver@wam.umd.edu
  54.  
  55.    
  56.